package com.midou.administration.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author MrChen
 * @since 2021-03-24
 */

/**
 * 员工表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Clerk implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * PrimaryKey
     */
    @TableId(value = "clerk_id", type = IdType.AUTO)
    private Integer clerkId;

    /**
     * 登陆账号
     */
    private String clerkAccountNumber;

    /**
     * 登陆密码
     */
    private String clerkPassword;

    /**
     * 名字
     */
    private String clerkName;

    /**
     * 角色id
     */
    private Integer roleId;

    /**
     * 员工年龄
     */
    private Integer clerkAge;

    /**
     * 性别
     */
    private Integer clerkSex;

    /**
     * 员工住址
     */
    private String clerkAddress;

    /**
     * 联系方式
     */
    private String clerkPhone;

    /**
     * 商家id外键，表示是哪一家商家的员工
     */
    private Integer clerkBusinessId;

}
